from odoo import models, fields


class EpidemicRecord(models.Model):
    _name = 'epidemic.record'
    _description = "Test"

    # name = fields.Char()
    # date = fields.Date()
    # state = fields.Char()
    # city = fields.Char()
    # street = fields.Char()
    # ill_type = fields.Char()
    name = fields.Char(string='姓名')
    date = fields.Date(string='确诊日期')
    state = fields.Char(string='省')
    city = fields.Char(string='市')
    street = fields.Char(string='街道')
    ill_type = fields.Char(string='感染方式')
    within_or_aboard = fields.Selection([('within', '境内'), ('aboard', '境外')])
